package net.steam.easyjoboa.biz;

import java.util.List;

import net.steam.easyjoboa.entity.ClaimVoucher;

public interface ClaimVoucherBiz {
	
	/**
	 * 提交报销申请
	 */
	Integer addClaim(ClaimVoucher claim);
	
	/**
	 * 查找未审批报销单
	 * @return
	 */
	List<ClaimVoucher> getAllClaimVouchers(Integer userId);
	
	/**
	 * 查找个人报销单
	 * @return
	 */
	List<ClaimVoucher> getClaimByUser(Integer userId);
	
	/**
	 * 报销审核-批量更新状态
	 * @param claim
	 */
	void updateClaim(ClaimVoucher claim);
	
	/**
	 * 根据id查找
	 * @param id
	 * @return
	 */
	ClaimVoucher getClaimById(Integer id);
	
}
